From a2fa1e23d076c59ac417bd36a06fa832a2327188 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 24 Feb 2010 10:58:03 +0000 Subject: [PATCH] sched_credit: Reduce is_urgent flag check to a WARN_ON. Signed-off-by: Keir Fraser --- xen/common/sched_credit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/common/sched_credit.c b/xen/common/sched_credit.c index 914022ebb9..bb85b94315 100644 --- a/xen/common/sched_credit.c +++ b/xen/common/sched_credit.c @@ -1060,7 +1060,7 @@ csched_runq_steal(int peer_cpu, int cpu, int pri) /* We got a candidate. Grab it! */ CSCHED_VCPU_STAT_CRANK(speer, migrate_q); CSCHED_STAT_CRANK(migrate_queued); - BUG_ON(vc->is_urgent); + WARN_ON(vc->is_urgent); __runq_remove(speer); vc->processor = cpu; return speer; -- 2.30.2